"use strict";
const common_vendor = require("../../../common/vendor.js");
const utils_index = require("../../../utils/index.js");
const _sfc_main = {
  __name: "BoundForm",
  setup(__props, { expose }) {
    const formData = common_vendor.ref({});
    const handleInput = (e) => {
      formData.value.name = utils_index.warnBlank(e.detail.value).substring(0, 10);
    };
    const handleCard = (e) => {
      formData.value.remark = utils_index.warnBlank(e.detail.value).substring(0, 10);
    };
    const clearFrom = () => {
      formData.value = {};
    };
    expose({
      formData,
      clearFrom
    });
    return (_ctx, _cache) => {
      return {
        a: common_vendor.o(handleInput),
        b: formData.value.name,
        c: common_vendor.o(($event) => formData.value.name = $event.detail.value),
        d: formData.value.idCard,
        e: common_vendor.o(($event) => formData.value.idCard = $event.detail.value),
        f: common_vendor.o(handleCard),
        g: formData.value.remark,
        h: common_vendor.o(($event) => formData.value.remark = $event.detail.value)
      };
    };
  }
};
const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__file", "D:/project/2023/project-zhyl-xcx-uniapp-java/pages/family/components/BoundForm.vue"]]);
wx.createComponent(Component);
